package com.codi.bus.core.vo;

import com.codi.base.domain.BaseDomain;
import lombok.Data;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 模块名
 *
 * @author spy
 * @version 1.0 2017-11-06 10:52
 * @since 1.0
 */
@Data
@Accessors(chain = true)
public class PortfolioTradeSellVo extends BaseDomain {


    @NotBlank
    private String portfolioTradeAcco; // 组合的交易账号

    @NotBlank
    private String innerPortfolioCode; // 组合编码

    @NotNull
    private BigDecimal redeemRate;// 赎回比例

    @NotBlank
    @Length(min = 6, max = 6)
    private String tradePassword;

    @NotBlank
    private String applyNo;

    @NotBlank
    private String sign;

}
